import type { RouteRecordRaw } from 'vue-router'

const cockpitRoutes: RouteRecordRaw[] = [
  {
    path: '/cockpit',
    name: 'Cockpit',
    redirect: '/cockpit/index',
    meta: {
      title: '智能驾驶舱',
      icon: 'monitor'
    },
    children: [
      {
        path: 'index',
        name: 'CockpitIndex',
        component: () => import('@/views/cockpit/index.vue'),
        meta: {
          title: '驾驶舱首页',
          icon: 'monitor'
        }
      }
    ]
  }
]

export default cockpitRoutes